package com.digital.herbarium.Entity;


import java.util.List;
import java.util.Map;

public class User {

    private Integer id;
    private String username;
    private String useraccount;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUseraccount() {
        return useraccount;
    }

    public void setUseraccount(String useraccount) {
        this.useraccount = useraccount;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }


    public String getDepartment() {
        return department;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    private String password;
    private String telephone;
    private String department;
    private Integer state;
    private String createtime;

    public String getRoleid() {
        return roleid;
    }

    public void setRoleid(String roleid) {
        this.roleid = roleid;
    }

    public List<Role> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<Role> roleList) {
        this.roleList = roleList;
    }

    public List<Menu> getMenuList() {
        return menuList;
    }

    public void setMenuList(List<Menu> menuList) {
        this.menuList = menuList;
    }

    private String roleid;

    public Integer getIsAdmin() {
        return isAdmin;
    }

    public void setIsAdmin(Integer isAdmin) {
        this.isAdmin = isAdmin;
    }

    private List<Role> roleList;
    private List<Menu> menuList;
    private Integer isAdmin;

    public String getSelectMenuKey() {
        return selectMenuKey;
    }

    public void setSelectMenuKey(String selectMenuKey) {
        this.selectMenuKey = selectMenuKey;
    }

    private String menuKey;
    private List<Map<String, Object>> menuTreeList;
    private String selectMenuKey;

    public List<Map<String, Object>> getMenuTreeList() {
        return menuTreeList;
    }

    public void setMenuTreeList(List<Map<String, Object>> menuTreeList) {
        this.menuTreeList = menuTreeList;
    }

    public String getMenuKey() {
        return menuKey;
    }

        public void setMenuKey(String menuKey) {
        this.menuKey = menuKey;
    }
}
